package cn.buildworld.mapper;

import cn.buildworld.pojo.po.OsCategoryAdvert;
import cn.buildworld.pojo.po.OsCategoryAdvertExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OsCategoryAdvertMapper {
    int countByExample(OsCategoryAdvertExample example);

    int deleteByExample(OsCategoryAdvertExample example);

    int deleteByPrimaryKey(Long categoryAdvertId);

    int insert(OsCategoryAdvert record);

    int insertSelective(OsCategoryAdvert record);

    List<OsCategoryAdvert> selectByExample(OsCategoryAdvertExample example);

    OsCategoryAdvert selectByPrimaryKey(Long categoryAdvertId);

    int updateByExampleSelective(@Param("record") OsCategoryAdvert record, @Param("example") OsCategoryAdvertExample example);

    int updateByExample(@Param("record") OsCategoryAdvert record, @Param("example") OsCategoryAdvertExample example);

    int updateByPrimaryKeySelective(OsCategoryAdvert record);

    int updateByPrimaryKey(OsCategoryAdvert record);
}